package com.test.demo1.entity;

import java.util.Date;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
/**
 * (Attachment)实体类
 *
 * @author huishao
 * @since 2022-11-03 12:35:42
 */
@TableName("attachment")
@Getter
@Setter
public class Attachment {
    /**
     * 主键
     */
    @TableId(value="id", type= IdType.UUID)
    private String id;
                    
    /**
     * 附件名
     */
    @TableField("attachment_name")
    private String attachmentName;
                    
    /**
     * 附件存储路径
     */
    @TableField("attachment_path")
    private String attachmentPath;
                    
    /**
     * 附件状态：delete：删除；normal：正常
     */
    @TableField("status")
    private String status;
                    
    /**
     * 上传时间
     */
    @TableField("create_time")
    private Date createTime;
                    
    /**
     * 删除时间
     */
    @TableField("delete_time")
    private Date deleteTime;
        
/* 
联调 json
{
"id":"",
"attachmentName":"",
"attachmentPath":"",
"status":"",
"createTime":"",
"deleteTime":"",
}
*/
}




